Rate-limiting submissions
Rate limiting can be enabled in Jadu Central forms by amending the application's configuration.
To do this:
- Open the file
config/xfp/constants.xml
in a text editor. - Amend or add the lines below:
xforms_rate_limiting_allowed_submissions
this is the number of submissions before rate-limiting is triggeredxforms_rate_limiting_period
this is the period in minutes in which the allowed submissions are countedxfp_ratelimit_enabled
this configuration value enables rate limiting
- Clear the configuration cache of the application
Example:
<xforms_rate_limiting_allowed_submissions>1</xforms_rate_limiting_allowed_submissions>
<xforms_rate_limiting_period>10</xforms_rate_limiting_period>
<xfp_ratelimit_enabled config:type="bool">true</xfp_ratelimit_enabled>